import tailwindcss from 'tailwindcss'
import autoprefixer from 'autoprefixer'
import postcssPresetEnv from 'postcss-preset-env'
import postcssAddRootSelector from 'postcss-add-root-selector'

export default {
  plugins: [
    tailwindcss(),
    postcssPresetEnv({
      stage: 3,
      features: { 'nesting-rules': true }
    }),
    postcssAddRootSelector({ 
      rootSelector: '.root' 
    }),
    autoprefixer()
  ]
}